<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="/common/taglibs.jsp" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>查询</title>

    <%@ include file="/common/util.jsp" %>
    <script type="text/javascript" src="${cdnctx }/src/statistics/areaConsume.js"></script>
</head>

<body class="main">
<div class="-frame -style -luster" id="css_container">

    <!--首页框架页眉部分↓-->
    <%@ include file="/WEB-INF/pages/inc/header.jsp" %>
    <!--首页框架页眉部分↑-->

    <div class="content">
        <!-- Left导航菜单◎开始 -->
        <%@ include file="/WEB-INF/pages/inc/leftmenu.jsp" %>
        <!-- Left导航菜单◎结束 -->
        <input type="hidden" class="form-control" id="sessionCustomerName" value="${customername }">

        <div class="main-mid">
            <div class="pos"><img src="${cdnctx}/src/index/img/index.png"><a href="">数据报表 ></a><a href="">区域用电分析表</a>
            </div>
            <form class="form-inline" style="min-width:700px;margin-left: 20px;margin-top: 20px;">
                <label class="search_text">客户：</label>
                <input type="hidden" class="search_input" id="customerinfoid">
                <input type="hidden" class="search_input" id="companyCode">
                <input type="text" style="cursor: pointer;" readonly class="search_input" id="companyName"
                       value="${customername}" placeholder="双击选择客户" onchange="changeArea()">
                <label class="search_text">区域:${pointid} </label>
                <select class="search_select" id="pointid" name="pointid">
                    <c:forEach items="${points}" var="element">
                        <option value="${element.pointid}">${element.areaname}</option>
                    </c:forEach>
                </select>
                <label class="search_text">查询日期：</label>
                <input type="text" style="cursor: pointer;" readOnly class="search_input Wdate" id="endDate"
                       value="${endDate}"
                       onfocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" placeholder="请输入查询日期">
                <input type="button" class="search_btn" id="searchEnergy" value="查&nbsp;询"><label
                    id="errormessage"></label>
            </form>
            <div class="main-chart">
                <div id="container" style="width: 100%;height:400px"></div>
            </div>
        </div>
    </div>
    <!--首页框架页尾部分↓-->
    <%@ include file="/WEB-INF/pages/inc/footer.jsp" %>
    <!--首页框架页尾部分↑-->
</div>
</body>
</html>